/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/',
    component: () => import('@/layouts/index'),
    redirect: '/work',
    meta: {
      title: '工作台',
      keepAlive: false
    },
    children: [
      {
        path: '/work',
        name: 'work',
        component: () => import('@/views/work'),
        meta: { title: '工作台', keepAlive: false }
      },
      {
        path: '/list',
        name: 'list',
        component: () => import('@/views/list'),
        meta: { title: '列表', keepAlive: false }
      }
    ]
  },
  {
    path: '/add',
    name: 'add',
    component: () => import('@/views/add'),
    meta: { title: '新增', keepAlive: false }
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login'),
    meta: { title: '登录', keepAlive: false }
  }
]
